package com.jiangyao.model.dto.backend;

import com.jiangyao.model.dto.BaseDTO;
import com.jiangyao.model.dto.ListPageDTO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * @author zhousx
 * @create 2020/8/12
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel("分页职位列表列表查询请求参数")
public class JobListDTO extends ListPageDTO implements BaseDTO {

    @ApiModelProperty(value = "组织ID",required = true)
    @NotNull(message = "组织ID 不能为空")
    private List<Integer> orgIdList;

    @ApiModelProperty(value = "职位ID 1为在线的职位，0 为关闭的职位")
    private String chooseType;

    @ApiModelProperty(value = "关键字搜索")
    private String searchVal;

    /**
     * 审核状态 0-待审核 1-审核通过 2-审核拒绝
     */
    @ApiModelProperty("审核状态 0-待审核 1-审核通过 2-审核拒绝")
    private Integer auditStatus;
}
